class HttpUrls {
  //  资源上传URL
  // static String postFile = "http://192.168.1.50:8088/upload/UploadServlet";
  ///是否是本地
  // static const bool isLocal = false;

  ///是否是线上
  static const bool isOnline = false;

  // ///是否是国内
  // static const bool isHome=true;

  static String onLineUrl = "www.changxinshangwu.com:8888";
  // static String localUrl = "192.168.1.3:8888";
  static String testUrl = "test.ziyuapp.com:8888";

  static int onLineImSDKID = 1400556072;
  static int testImSDKID = 1400565335;

  static String baseUrl() {
    return isOnline ? onLineUrl : testUrl;
  }

  static int imSdkAppId() {
    return isOnline ? onLineImSDKID : testImSDKID;
  }

  ///测试
  static const String key =
      'b8e6c1c745468d4897e0fee9e9495499c09a0855fbf63ab0a7976e63b86d1a50';

  static String WEB_SOCKET_URL = "ws://192.168.1.11:8888/ws?";

  static String ZXING_CODE = "https://example.com/?action=user&qrCodeKey=";

  //用户服务协议
  static String YH_XY =
      "http://www.changxinshangwu.com:8888/pages/userAgreement.html";

  //隐私政策
  static String YS_XY =
      "http://www.changxinshangwu.com:8888/pages/privacyPolicy.html";

  //动态发布条款
  static String DT =
      "http://www.changxinshangwu.com:8888/pages/noticeDynamic.html";
}
